//
//  MyTextField.h
//  KeyBoardTest
//
//  Created by ysk on 15-6-23.
//  Copyright (c) 2015年 ysk666666. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MyTextField;
typedef void(^TapDoneButton)(MyTextField * mytextfield);


@protocol MyTextFieldDelegate;
@interface MyTextField : UITextField


@property(nonatomic,weak)id<MyTextFieldDelegate>delegateMy;
-(void)tapDoneButtonBlock:(TapDoneButton)aBlock;

@end

@protocol MyTextFieldDelegate <NSObject>

@optional
-(void)didTapDoneButton:(MyTextField *)textfield;

@end
